<!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
<stack>
<name>in.0</name>
<id>-1</id>
<cardCount>1</cardCount>
<cardID>3964</cardID>
<listID>2873</listID>
<cantModify><false /></cantModify>
<cantDelete><false /></cantDelete>
<cantAbort><false /></cantAbort>
<cardSize>
<width>512</width>
<height>342</height>
</cardSize>
<script>on keyDown theKeyglobal gSearch, gFoundCdsif gSearch is true and the selectedLoc is empty then -- need "is true" when gSearch isn't initialized; the selectedLoc is not empty when insertion pt is in fieldput chartonum(theKey) into theNumif theNum >= 65 and theNum <= 122 thenput theKey after the message boxclick at -1000,1000find the message boxif the result is not empty then answer quote & the message box & quote && "was not found."put the number of this card & "," after gFoundCdselse if theNum = 8 then --delete keydelete the last item of gFoundCdsgo cd the last item of gFoundCdsclick at -1000,1000delete the last char of the message boxif the message box is empty then exit keyDownfind the message boxelse if theNum = 13 or theNum = 101 then --ignore return and enterfind the message boxif the result is not empty then answer quote & the message box & quote && "was not found."put the number of this card & "," after gFoundCdselse pass keyDownelse pass keyDownend keyDownon controlKey theKeyglobal gSearch, gFoundCdsif theKey = 19 then --it's "s"if gSearch is not true then put true into gSearch -- need "is not true" when gSearch isn't initializedelse put false into gSearchif not gSearch then put empty into gFoundCdselse put empty into the message boxend ifpass controlKeyend controlKey</script>